'use strict';

const BaseService = require('../base');
const {Op} = require("sequelize");

class SystemRoleService extends BaseService {
  static get modelName() {
    return 'System.SystemRole';
  }
  setAfterPageQuery() {
    return {
      // 账号不等于admin
      code: {
        [Op.ne]: 'super_admin'
      }
    }
  }
}

module.exports = SystemRoleService;
